package com.tudouji.project.pay.domain;

import com.flow.service.pojo.BasePojo;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 销售订单回款核销记录对象 sf_prebalance_record
 *
 * @author tudouji
 * @date 2022-09-22
 */
@Data
public class SfPrebalanceRecord extends BasePojo
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long sellformId;

    /** 订单code */
    @Excel(name = "订单code")
    private String code;

    /** 核销金额	=销售订单结算金额 */
    @Excel(name = "核销金额	=销售订单结算金额")
    private BigDecimal amount;

    /** 冲回id */
    @Excel(name = "冲回id")
    private Long reverseId;

    /** 状态:1未核销2余额不足核销失败3已冲100 核销成功*/
    @Excel(name = "状态:1未核销2余额不足核销失败3已冲100 核销成功 0已删除")
    private Integer status;

    @Excel(name = "type=1 核销记录 type=2 反核销记录")
    private Integer type;

    private String customerguid;
    private String statusName;
    private String typeName;
    private String createByName;

    private Integer[] stats;
}
